export interface RoleRecord {
	_id: string;
	avatar: string | null;
	description?: string;
	name: string;
	status: number;
	createdTime: string;
	updatedTime: string;
}
export interface PermissionRecord {
	_id: string;
	// role_permission_id: string;
	name: string;
	url: string;
	method: string;
	type: 1 | 2 | 3;
	icon: string | null;
	parentId: number | null;
	parentName?: string;
	createdTime: string;
	updatedTime: string;
}
export enum Permission {
	interface = 1,
	menu = 2,
	route = 3,
}
